<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css3圆角</title>
    <style>
        .box1{
            border: 2px solid black;
            padding: 40px 20px;
            background: grey;
            width: 300px;
            border-radius: 25px;
        }
        .box2{
            border: 2px solid pink;
            padding: 10px;
            border-radius: 20px 40px;
        }
    </style>
</head>
<body>
    <div class="box1">
        <p>border-radius属性允许您添加圆角边框</p>
    </div>
    <div class="box2">
        <p>如果设置两个值，第一个值为左上角和右下角，第二个值为右上角和左上角！</p>
    </div>
</body>
</html>